package com.horay.springbootdemo.web.servlet.service.impl;

import com.horay.springbootdemo.web.servlet.common.properties.IndexProperties;
import com.horay.springbootdemo.web.servlet.service.IndexService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

/**
 * 首页信息业务实现类
 *
 * @author heyingcheng
 * @date 2019/9/30 16:14
 */
@Service
public class IndexServiceImpl implements IndexService {

    @Autowired
    protected IndexProperties indexProperties;

    @Override
    public String getIndexInfo() {
        return "com.horay.springbootdemo.web.servlet.service.impl.IndexServiceImpl.getIndexInfo".concat(".").concat(indexProperties.getInfo());
    }

}
